-- GENERATED SPELL FOR [Tiri] --


function spell0_28916(pUnit, Event) --@Concussion Blow,n/a--
pUnit:FullCastSpellOnTarget(52719,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28916', 3278, 1)
end

function spell1_28916(pUnit, Event) --@Renew,Heal--
pUnit:FullCastSpellOnTarget(25058,pUnit)
pUnit:RegisterEvent('Sorts_28916', 15000, 1)
end

function Sorts_28916(pUnit, Event)
local choix_sorts_28916 = math.random(0, 1)
if choix_sorts_28916 == 0 then
pUnit:RegisterEvent('spell0_28916', 1, 1)
end
if choix_sorts_28916 == 1 then
pUnit:RegisterEvent('spell1_28916', 1, 1)
end
end

function mob28916_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28916', math.random(1500, 3000), 1)
end

function mob28916_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28916_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28916_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28916, 1, 'mob28916_Action')
RegisterUnitEvent(28916, 2, 'mob28916_Leave')
RegisterUnitEvent(28916, 3, 'mob28916_Kill')
RegisterUnitEvent(28916, 4, 'mob28916_Die')
